<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <form action="{:url('Web/fileReplacementTest')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <div class="col-md-12">
                <table class="table table-bordered">
                    <tr>
                        <th>替换路径<span class="form-required">*</span></th>
                        <td>
                            <input class="form-control" required type="text" name="path" placeholder="(例)/app/admin/controller/index.php" style="width: 450px;"/>
                        </td>
                    </tr>
                    <tr>
                        <th>替换文件<span class="form-required">*</span></th>
                        <td class="form-inline">
                            <input id="file-audio" required class="form-control" type="text" name="file"
                                   value="{$post.more.audio|default=''}" placeholder="请上传文件" style="width: 450px;">
                            <a href="javascript:uploadOne('文件上传','#file-audio','file');" style="background: #4eb754;    padding: 8px 17px;    color: #fff;    text-decoration: none;">上传</a>
                        </td>
                    </tr>
                </table>
                <div class="form-group">
                    <div class="col-sm-offset-0 col-sm-10">
                        <button type="submit" class="btn btn-primary">替换</button>
                        <a class="btn btn-default" href="{:url('Web/fileReplacementTest')}">{:lang('BACK')}</a>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
